package org.wm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.wm.domain.SysOperLog;

/**
 * 操作日志 数据层
 * (已按照 Mybatis-Plus 混合模式进行改造)
 */
@Mapper
public interface SysOperLogMapper extends BaseMapper<SysOperLog> {

    /**
     * 查询系统操作日志集合
     */
    IPage<SysOperLog> selectOperLogList(Page<SysOperLog> page, @Param("operLog") SysOperLog operLog);

    /**
     * 清空操作日志
     */
    void cleanOperLog();
}